net.sf.webphotos.model
Class CategoryVO

java.lang.Object
  extended by net.sf.webphotos.model.CategoryVO
All Implemented Interfaces:
Serializable, HasID<Integer>

@Entity
public class CategoryVO
extends Object
implements Serializable, HasID<Integer>

Author:
Guilhe
See Also:
Serialized Form

Constructor Summary
CategoryVO()
          Deprecated. 
CategoryVO(Integer categoriaID)
          Deprecated. 
CategoryVO(Integer categoriaID, String nmcategoria)
          Deprecated. 
CategoryVO(String nmcategoria)
           
CategoryVO(String nmcategoria, CategoryVO categoriaPai)
           
 
Method Summary
 boolean equals(Object object)
           
 Integer getCategoriaID()
           
 CategoryVO getCategoriaPai()
           
 Integer getId()
           
 String getNmcategoria()
           
 int hashCode()
           
 void setCategoriaID(Integer categoriaid)
           
 void setCategoriaPai(CategoryVO categoriaPai)
           
 void setNmcategoria(String nmcategoria)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CategoryVO

@Deprecated
public CategoryVO()
Deprecated. 


CategoryVO

@Deprecated
public CategoryVO(Integer categoriaID)
Deprecated. 


CategoryVO

@Deprecated
public CategoryVO(Integer categoriaID,
                             String nmcategoria)
Deprecated. 


CategoryVO

public CategoryVO(String nmcategoria)

CategoryVO

public CategoryVO(String nmcategoria,
                  CategoryVO categoriaPai)
Method Detail

getCategoriaID

public Integer getCategoriaID()

setCategoriaID

public void setCategoriaID(Integer categoriaid)

getNmcategoria

public String getNmcategoria()

setNmcategoria

public void setNmcategoria(String nmcategoria)

getCategoriaPai

public CategoryVO getCategoriaPai()
Returns:
the categoriaPai

setCategoriaPai

public void setCategoriaPai(CategoryVO categoriaPai)
Parameters:
categoriaPai - the categoriaPai to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

public Integer getId()
Specified by:
getId in interface HasID<Integer>


Copyright © 2008-2012. All Rights Reserved.